package com.lkx.web;

import com.lkx.dao.GoodsStatisticsMapper;
import com.lkx.domain.GoodsStatistics;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * ClassName: TestController
 * Function:  TODO
 * Date:      2019-10-31 10:58
 * author     likaixuan
 * version    V1.0
 */
@RestController
public class TestController {

    @Autowired
    private GoodsStatisticsMapper goodsStatisticsMapper;

    @GetMapping("/test")
    public GoodsStatistics test(){
        return goodsStatisticsMapper.selectByPrimaryKey(new Long(198));
    }
}
